package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.entity.ScheduleJobLog;

import java.util.List;
import java.util.Map;

/**
 * @Classname ScheduleLogMapper
 * @Description ScheduleLogMapper
 * @Date 2021/9/19 12:54
 * @Created by huxy
 */
@Repository
@Mapper
public interface ScheduleLogMapper {
    int getScheduleLogCount();

    List<ScheduleJobLog> getScheduleLogList(int leftIndex, int rightIndex);

    int saveLog(ScheduleJobLog scheduleJobLog);

    List<ScheduleJobLog> getScheduleLogListByFilter(Map<String, Object> queryMap);

    List<Integer> getScheduleLogJobIds();
}
